package com.booking.controller.model.req.order;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author Qikai.Lin
 * @date 2023/4/23
 */
@Data
public class RoomOrderCommentReq {
    /**
     * 用户ID
     */
    @NotNull(message = "用户id不能为空")
    private Long userId;
    /**
     * 房间订单ID
     */
    @NotNull(message = "房间订单id不能为空")
    private Long roomOrderId;
    /**
     * 内容
     */
    @NotEmpty(message = "内容不能为空")
    private String content;
    /**
     * 评分
     */
    @NotNull(message = "评分不能为空")
    private Integer score;


}
